<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="initial-scale=1, width=device-width">
  <title>3songshu</title>
</head>

<body>
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>

<script type="text/javascript">
  var event = "onorientationchange" in window ? "orientationchange" : "resize";
  var doc = document.documentElement ||
    document.body;
  window.addEventListener(event, _resize, false);
  window.addEventListener("DOMContentLoaded", _resize);
  function _resize() {
    if (doc.clientWidth > 560) {
      doc.style.fontSize = "100px"; 
    } else {
      doc.style.fontSize = 100 * (doc.clientWidth / 560) + "px";
    }
  }

</script>

</html>